package java复习202503.A_类和接口的区别;

public class Demo extends AbstractDemo implements InterfaceDemo{


    @Override
    void am1() {
        System.out.println("am1 抽象方法1111111");
    }


    @Override
    public void im1() {
        System.out.println("im1 抽象方法1111111");
    }
}
